package com.cai.primeton.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @version 1.0
 * @author：蔡松坡
 * @date：2021/7/1 11 : 41
 * @package：com.cai.primeton.entity
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Entity(name = "prole")
@Table
public class PRole {
    @Id
    private Integer id;
    @Column(name = "rolecode")
    private String rolecode;
    @Column(name = "rolename")
    private String rolename;//角色名称
    @Column(name = "describe")
    private String describe;//角色描述
    @Column(name = "createtime")
    private Date createtime;//创建时间
    @Column(name = "modifytime")
    private Date modifytime;//修改时间
    @Column(name = "createuser")
    private String createuser;//创建人
    @Column(name = "modifyuser")
    private String modifyuser;//修改人



}
